class CreateRoles < ActiveRecord::Migration
    def self.up
        create_table :roles do |t|
            t.column :name, :string
        end
        Role.create(:name => 'reader')
        Role.create(:name => 'editor')
        Role.create(:name => 'admin')
        Role.create(:name => 'librarian')
        Role.create(:name => 'stylist')
        
    end
    
    def self.down
        drop_table :roles
    end
end